public class Pixel extends Point
{
    private Color color;
    public Pixel(Point p,Color c)
    {
        super(p);
        color=c;
    }
    public Pixel()
    {
        this(new Point(),new Color());
    }
    public Pixel(Pixel p)
    {
        super(p);
        color=new Color(p.color);
    }
    public String toString()
    {
        return super.toString()+"color:"+color.toString();
    }
}
